package com.example.leetcode.graph;

import com.example.leetcode.graph.common.GraphUtils;

class Solution269 {
    public String alienOrder(String[] words) {
        return GraphUtils.alienOrder(words);
    }
}

public class leetcode269 {
    public static void main(String[] args) {
        Solution269 solution269 = new Solution269();
        String[] words = {"wrt", "wrf", "er", "ett", "rftt"};
        String[] words1 = {"z","z"};
        System.out.println(solution269.alienOrder(words));
        System.out.println(solution269.alienOrder(words1));
    }
}
